package com.xiangyi.teachingsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiangyi.teachingsystem.entity.dto.PrivateResUserInfoDto;
import com.xiangyi.teachingsystem.entity.po.PrivateResShare;

import java.util.List;

public interface PrivateResShareService extends IService<PrivateResShare> {
    List<PrivateResShare> getShearedResList(Integer userId);

    List<PrivateResShare> getSheareResList(Integer userId);

    List<PrivateResUserInfoDto> getShareUsersListByResId(Integer resId);

    void updateBatchShare(Integer resId, List<Integer> userIds);
}
